/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import java.util.ArrayList;
/*    */ import org.lwjgl.util.vector.Matrix4f;
/*    */ 
/*    */ 
/*    */ public class nu
/*    */ {
/*    */   public ArrayList<Matrix4f> i;
/*    */   public ArrayList<Matrix4f> w;
/*    */   public rv q;
/*    */   public int g;
/*    */   
/*    */   public nu(nu nu1, rv rv1) {
/* 15 */     this.i = new ArrayList<>();
/* 16 */     this.w = new ArrayList<>();
/* 17 */     this.q = rv1;
/* 18 */     this.g = nu1.g;
/* 19 */     this.i = nu1.i;
/* 20 */     this.w = nu1.w;
/*    */   }
/*    */   
/*    */   public nu(rv rv1) {
/* 24 */     this.i = new ArrayList<>();
/* 25 */     this.w = new ArrayList<>();
/* 26 */     this.q = rv1;
/* 27 */     this.g = rv1.z();
/*    */   }
/*    */   
/*    */   public void v(int i, Matrix4f matrix4f) {
/* 31 */     this.i.add(i, matrix4f);
/* 32 */     this.w.add(i, Matrix4f.invert(matrix4f, null));
/*    */   }
/*    */   
/*    */   public void v(int i, float f) {
/* 36 */     float f1 = (float)Math.toRadians(f);
/* 37 */     Matrix4f matrix4f = gt.v(0.0F, 0.0F, 0.0F, f1, 0.0F, 0.0F);
/* 38 */     Matrix4f.mul(matrix4f, this.i.get(i), this.i.get(i));
/* 39 */     Matrix4f.mul(Matrix4f.invert(matrix4f, null), this.w.get(i), this.w.get(i));
/*    */   }
/*    */   
/*    */   public void v() {
/* 43 */     for (int i = 0; i < this.i.size(); i++) {
/* 44 */       bv bv = this.q.t.get(i);
/* 45 */       if (bv.f != null) {
/* 46 */         Matrix4f matrix4f = Matrix4f.mul(this.i.get(bv.f.r), this.i.get(i), null);
/* 47 */         this.i.set(i, matrix4f);
/* 48 */         this.w.set(i, Matrix4f.invert(matrix4f, null));
/*    */       } 
/*    */     } 
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\nu.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */